home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.src.lzh / libbig / Makefile < prev    next >
Makefile  |  1989-08-01  |  626b  |  42 lines

  1. # libbig makefile
  2. INCLUDE= /include
  3. DEFINES=-I$(INCLUDE) -I/relay -DDEBUG -DFJE -DAMIGA
  4.  
  5. #    AMIGA
  6. #    COPTS= -O # -g -p -pg
  7. CC= cc
  8. COPTS=
  9. CFLAGS= $(COPTS) $(DEFINES)
  10.  
  11. #    AMIGA
  12. #    LINTFLAGS=-hau $(DEFINES)
  13. #    LIB=libbig.a
  14. LIB= /libcnews.lib
  15.  
  16. # RANLIB is ranlib on non-USG systems, echo on USG systems
  17. RANLIB=ranlib
  18. #RANLIB=:
  19. SRCS=active_fast.c sys_fast.c
  20. OBJS=active_fast.o sys_fast.o
  21.  
  22. # workaround for System V make bug
  23. SHELL = /bin/sh
  24.  
  25. .c.o:
  26.     $(CC) $(CFLAGS) $*.c
  27.     lb $(LIB) -r $*.o $*.o
  28.  
  29. all:    $(OBJS)
  30.  
  31. $(LIB): $(SRCS)
  32.     $(CC) $(CFLAGS) -c $?
  33.     ar rv $@ *.o
  34.     rm *.o
  35.     $(RANLIB) $@
  36.  
  37. lint:
  38.     lint $(LINTFLAGS) $(SRCS)
  39.  
  40. clean:
  41.     rm -f *.o
  42.